+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
+2000-11-02 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
+ gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
+ gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
+ Add last argument to t_type_register_static call.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Add last argument to t_type_register_static call.
+ export the get_image drawable virtual function.
+
+ * gdk/linux-fb/gdkimage-fb.c:
+ Add last argument to t_type_register_static call.
+ rename gtk_image_get to _gdk_fb_get_image and
+ export it for use by gdkdrawable-fb2.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ export _gdk_fb_get_image.
+
+ * gdk/linux-fb/gdkselection-fb.c:
+ Add new api call stubs.
+
+ * gtk/Makefile.am:
+ Missing ( in linux-fb part.
+
+ * modules/linux-fb/Makefile.am:
+ Must link with gdk_pixbuf or get unresolved symbol.
+
2000-11-01 Havoc Pennington <hp@pobox.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
object_type = g_type_register_static (G_TYPE_OBJECT,
"GdkColormap",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
object_type = g_type_register_static (G_TYPE_OBJECT,
"GdkDragContext",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
drawable_class->set_colormap = gdk_fb_set_colormap;
drawable_class->get_colormap = gdk_fb_get_colormap;
drawable_class->get_size = gdk_fb_get_size;
+
+ drawable_class->get_image = _gdk_fb_get_image;
}
GType
object_type = g_type_register_static (GDK_TYPE_DRAWABLE,
"GdkDrawableFB",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
object_type = g_type_register_static (GDK_TYPE_GC,
"GdkGCFB",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
object_type = g_type_register_static (G_TYPE_OBJECT,
"GdkImage",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
}
GdkImage*
-gdk_image_get (GdkWindow *window,
- gint x,
- gint y,
- gint width,
- gint height)
+_gdk_fb_get_image (GdkWindow *window,
+ gint x,
+ gint y,
+ gint width,
+ gint height)
{
GdkImage *image;
GdkImagePrivateFB *private;
object_type = g_type_register_static (PANGO_TYPE_FONT_MAP,
"PangoFBFontMap",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
object_type = g_type_register_static (PANGO_TYPE_FONT,
"PangoFBFont",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
object_type = g_type_register_static (gdk_drawable_impl_fb_get_type(),
"GdkPixmapFB",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
void gdk_window_invalidate_rect_clear(GdkWindow *window, GdkRectangle *rect);
GdkGC *_gdk_fb_gc_new(GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask);
-void gdk_fb_drawable_clear(GdkDrawable *drawable);
+GdkImage*_gdk_fb_get_image (GdkWindow *window,
+ gint x,
+ gint y,
+ gint width,
+ gint height);
+
+void gdk_fb_drawable_clear (GdkDrawable *drawable);
void gdk_fb_draw_drawable (GdkDrawable *drawable,
GdkGC *gc,
GdkPixmap *src,
void gdk_free_compound_text (guchar *ctext)
{
}
+
+/**
+ * gdk_utf8_to_string_target:
+ * @str: a UTF-8 string
+ *
+ * Convert an UTF-8 string into the best possible representation
+ * as a STRING. The representation of characters not in STRING
+ * is not specified; it may be as pseudo-escape sequences
+ * \x{ABCD}, or it may be in some other form of approximation.
+ *
+ * Return value: the newly allocated string, or %NULL if the
+ * conversion failed. (It should not fail for
+ * any properly formed UTF-8 string.)
+ **/
+gchar *
+gdk_utf8_to_string_target (const gchar *str)
+{
+ return 0;
+}
+
+/**
+ * gdk_utf8_to_compound_text:
+ * @str: a UTF-8 string
+ * @encoding: location to store resulting encoding
+ * @format: location to store format of the result
+ * @ctext: location to store the data of the result
+ * @length: location to store the length of the data
+ * stored in @ctext
+ *
+ * Convert from UTF-8 to compound text.
+ *
+ * Return value: %TRUE if the conversion succeeded, otherwise
+ * false.
+ **/
+gboolean
+gdk_utf8_to_compound_text (const gchar *str,
+ GdkAtom *encoding,
+ gint *format,
+ guchar **ctext,
+ gint *length)
+{
+ return 0;
+}
+
+/**
+ * gdk_text_property_to_utf8_list:
+ * @encoding: an atom representing the encoding of the text
+ * @format: the format of the property
+ * @text: the text to convert
+ * @length: the length of @text, in bytes
+ * @list: location to store the list of strings or %NULL. The
+ * list should be freed with g_strfreev().
+ *
+ * Convert a text property in the giving encoding to
+ * a list of UTF-8 strings.
+ *
+ * Return value: the number of strings in the resulting
+ * list.
+ **/
+gint
+gdk_text_property_to_utf8_list (GdkAtom encoding,
+ gint format,
+ const guchar *text,
+ gint length,
+ gchar ***list)
+{
+ return 0;
+}
object_type = g_type_register_static (gdk_drawable_impl_fb_get_type(),
"GdkWindowFB",
- &object_info);
+ &object_info,
+ 0);
}
return object_type;
endif
if USE_LINUX_FB
libgtk_linux_fb_includedir = $(includedir)/gtk-2.0/gtk
-libgtk_linux_fb_include_HEADERS = $gtk_target_headers)
+libgtk_linux_fb_include_HEADERS = $(gtk_target_headers)
libgtk_linux_fb_1_3_la_SOURCES = $(gtk_target_sources)
endif
EXTRA_LTLIBRARIES = libgtk-x11-1.3.la libgtk-nanox-1.3.la libgtk-linux-fb-1.3.la
fb_basic_la_SOURCES = basic.c
fb_basic_la_LDFLAGS = -export-dynamic -avoid-version -module
-fb_basic_la_LIBADD = $(PANGO_LIBS) -L$(top_builddir)/gdk/.libs -lgdk-linux-fb-1.3
+fb_basic_la_LIBADD = $(PANGO_LIBS) -L$(top_builddir)/gdk/.libs -lgdk-linux-fb-1.3 -lgdk_pixbuf-1.3
if USE_LINUX_FB